int main(){
    CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
   curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");
   curl_easy_setopt(curl, CURLOPT_URL, "http://10.79.13.103:80/scmp-manage/sys/index/getTotalQuantity");
   curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
   curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
   struct curl_slist *headers = NULL;
   headers = curl_slist_append(headers, "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzZXNzaW9uSWQiOiIzOGNkNzdjMC01Yjc2LTRiZmEtODg0Ni1jMWQ4MDEwYTE1NTYiLCJleHAiOjE3MTM0NDA4MTksInVzZXJuYW1lIjoiYWRtaW4ifQ.8tnsjCEf1ZRBAT_O3rph1fDh7D6zLqGWplbaznlWc-c");
   headers = curl_slist_append(headers, "User-Agent: Apifox/1.0.0 (https://www.apifox.cn)");
   headers = curl_slist_append(headers, "Content-Type: application/json");
   headers = curl_slist_append(headers, "Accept: */*");
   headers = curl_slist_append(headers, "Host: 10.79.13.103:80");
   headers = curl_slist_append(headers, "Connection: keep-alive");
   curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
   const char *data = "{\r\n    \"startTime\": \"2024-04-12\",\r\n    \"endTime\": \"2024-04-18\"\r\n}";
   curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
   res = curl_easy_perform(curl);
}
curl_easy_cleanup(curl);

}